package com.jkgj.skykingkong.tms.domain.model.rbac;

import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.ebean.domain.AbstractAuditableEntity;
import org.springframework.data.ebean.domain.AggregateRoot;

/**
 * @author Xuegui Yuan
 */
@Getter
@Setter
@AllArgsConstructor
@Entity
@Table(name = "sys_permission")
@AggregateRoot
public class Permission extends AbstractAuditableEntity {
  /**
   * 代码
   */
  private String code;
  /**
   * 范围
   */
  private String scope;
  /**
   * 名称
   */
  private String name;
}
